<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>&#3626;&#3656;&#3591;&#3605;&#3619;&#3591;&#3588;&#3623;&#3634;&#3617;&#3619;&#3641;&#3657; &#3650;&#3604;&#3618;&#3605;&#3636;&#3623;&#3648;&#3605;&#3629;&#3619;&#3660;&#3617;&#3639;&#3629;&#3629;&#3634;&#3594;&#3637;&#3614;</title>
<style type="text/css">
<!--
@import url("<?=base_url()?>css/text.css");
a {
	font-size: 12px;
	color: #333333;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
body {
	background-image: url(<?=base_url()?>images/tutorlogin/logintutorBG.jpg);
	background-repeat: repeat;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
</head>

<body>
<div align="center">
	<form name="myForm" method="post" action="<?=site_url()?>TutorLogin/save">
	<input type="hidden" name="tutorID" id="tutorID" value="<?php echo $tutor_id?>" />
  <table width="1024" border="0" cellspacing="0" cellpadding="0">

    <tr>
      <td height="256" align="left" valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="1024" height="256">
        <param name="movie" value="<?=base_url()?>movie/head.swf" />
        <param name="quality" value="high" />
        <embed src="<?=base_url()?>movie/head.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1024" height="256"></embed>
      </object></td>
    </tr>
    <tr>
      <td height="50" align="left" valign="top"><img src="<?=base_url()?>images/tutorlogin/logintutor_02.jpg" width="1024" height="50" border="0" usemap="#Map" />
        <map name="Map" id="Map">
          <area shape="rect" coords="623,15,682,43" href="<?=site_url()?>courseandrate" />
          <area shape="rect" coords="370,16,448,30" href="<?=site_url()?>presentstudent" />
          <area shape="rect" coords="206,10,286,26" href="<?=site_url()?>toparent" />
          <area shape="rect" coords="143,11,186,32" href="<?=site_url()?>index.php" />
          <area shape="rect" coords="301,14,355,41" href="<?=site_url()?>strongpoint" />
          <area shape="rect" coords="461,16,535,30" href="<?=site_url()?>presenttutor" />
          <area shape="rect" coords="779,14,841,31" href="<?=site_url()?>tutorapply" />
          <area shape="rect" coords="705,10,762,40" href="<?=site_url()?>studentapply" />
          <area shape="rect" coords="549,14,604,42" href="<?=site_url()?>halloffame" />
          <area shape="rect" coords="857,12,910,32" href="<?=site_url()?>contactus" />
      </map></td>
    </tr>
    <tr>
      <td height="162" align="left" valign="top" style="background-image: url('<?=base_url()?>images/tutorlogin/logintutor_03.jpg')">
      	<br/>
      	<table width="700px" align="center" border="0" cellspacing="5">
      		<tr>
      			<td><font color="#003cff" size="5">สวัสดีค่ะ </font>
      				<font color="#000000" size="6" style="font-weight: bolder;">ติวเตอร์ <?php echo $tutor_name;?> </font> 
      				<a href="<?=site_url()?>login/logout"><font color="#0033CC" size="5" style="font-weight: bolder;">[Logout]</font></a> 
      			</td>
      		</tr>
      		<tr>
      			<td><font color="#000000" size="3">วันสุดท้ายที่ใช้งานได้: </font>
      			<font color="#f71313" size="5" style="font-weight: bolder;"><?php echo $expire_date;?></font> </td>
      		</tr>
      		<tr>
      			<td><br/>ติวเตอร์ทุกท่านสามารถปรึกษาเรื่องการสอนได้ รวมถึงติดต่อเรื่องอื่นๆ ได้ที่ โทร. 08 2641 5012 </td>
      		</tr>
      	</table>
      </td>
    </tr>
    <tr>
      <td align="left" valign="top" background="<?=base_url()?>images//tutorlogin/logintutor_04.jpg"><table width="1024" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="157" height="100" align="left" valign="top"><img src="<?=base_url()?>images/space.gif" width="157" height="100" /></td>
          <td width="736" height="100" align="left" valign="top"><img src="<?=base_url()?>images/tutorlogin/red_01.jpg" width="736" height="100" /></td>
          <td width="131" height="100" align="left" valign="top"><img src="<?=base_url()?>images/space.gif" width="131" height="100" /></td>
        </tr>
        <tr>
          <td height="71" align="left" valign="top">&nbsp;</td>
          <td height="71" align="left" valign="top" background="<?=base_url()?>images/tutorlogin/red_02.jpg"><table width="736" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="60" align="left" valign="top"><img src="<?=base_url()?>images/space.gif" width="59" height="15" /></td>
              <td width="5" align="center" valign="middle"><img src="<?=base_url()?>images/bullet.jpg" width="5" height="9" /></td>
              <td width="10" align="left" valign="top" class="textGrey12pt"><img src="<?=base_url()?>images/space.gif" width="8" height="15" /></td>
              <td width="604" align="left" valign="top" class="textGrey12pt">&#3605;&#3629;&#3609;&#3609;&#3637;&#3657;&#3652;&#3586;&#3657;&#3627;&#3623;&#3633;&#3604;&#3627;&#3617;&#3637;&#3585;&#3635;&#3621;&#3633;&#3591;&#3619;&#3632;&#3610;&#3634;&#3604; &#3586;&#3629;&#3651;&#3627;&#3657;&#3605;&#3636;&#3623;&#3648;&#3605;&#3629;&#3619;&#3660;&#3607;&#3640;&#3585;&#3607;&#3656;&#3634;&#3609;&#3651;&#3626;&#3656;&#3627;&#3617;&#3623;&#3585;&#3585;&#3633;&#3609;&#3609;&#3655;&#3629;&#3588; &#3648;&#3623;&#3621;&#3634;&#3652;&#3611;&#3626;&#3629;&#3609;&#3609;&#3657;&#3629;&#3591;&#3654; &#3607;&#3637;&#3656;&#3610;&#3657;&#3634;&#3609;&#3604;&#3657;&#3623;&#3618;&#3609;&#3632;&#3588;&#3632;</td>
              <td width="57" align="left" valign="top"><img src="<?=base_url()?>images/space.gif" width="57" height="15" /></td>
            </tr>
            <tr>
              <td align="left" valign="top"><img src="<?=base_url()?>images/space.gif" width="59" height="15" /></td>
              <td align="center" valign="middle"><img src="<?=base_url()?>images/bullet.jpg" width="5" height="9" /></td>
              <td align="left" valign="top" class="textGrey12pt"><img src="<?=base_url()?>images/space.gif" width="8" height="15" /></td>
              <td align="left" valign="top" class="textGrey12pt">&#3629;&#3618;&#3656;&#3634;&#3621;&#3639;&#3617;&#3614;&#3636;&#3617;&#3614;&#3660;&#3586;&#3657;&#3629;&#3617;&#3641;&#3621;&#3611;&#3619;&#3632;&#3623;&#3633;&#3605;&#3636;&#3609;&#3633;&#3585;&#3648;&#3619;&#3637;&#3618;&#3609; &#3588;&#3656;&#3634;&#3626;&#3629;&#3609;&#3586;&#3629;&#3591;&#3605;&#3609;&#3648;&#3629;&#3591;&#3649;&#3621;&#3632;&#3626;&#3656;&#3591;&#3617;&#3634;&#3607;&#3637;&#3656; <a href="mailto:tutorland@hotmail.com" class="textRed12pt">tutorland@hotmail.com</a> <br />
                &#3616;&#3634;&#3618;&#3651;&#3609;&#3623;&#3633;&#3609;&#3607;&#3637;&#3656; 32 &#3608;&#3633;&#3609;&#3623;&#3634;&#3588;&#3617; 2552 &#3609;&#3632;&#3588;&#3632;</td>
              <td align="left" valign="top"><img src="<?=base_url()?>images/space.gif" width="57" height="15" /></td>
            </tr>
            <tr>
              <td align="left" valign="top"><img src="<?=base_url()?>images/space.gif" width="59" height="15" /></td>
              <td align="center" valign="middle"><img src="<?=base_url()?>images/bullet.jpg" width="5" height="9" /></td>
              <td align="left" valign="top" class="textGrey12pt"><img src="<?=base_url()?>images/space.gif" width="8" height="15" /></td>
              <td align="left" valign="top" class="textGrey12pt">&#3605;&#3629;&#3609;&#3609;&#3637;&#3657;&#3627;&#3621;&#3634;&#3618;&#3654; &#3650;&#3619;&#3591;&#3648;&#3619;&#3637;&#3618;&#3609;&#3585;&#3635;&#3621;&#3633;&#3591;&#3648;&#3611;&#3636;&#3604;&#3619;&#3633;&#3610;&#3626;&#3617;&#3633;&#3588;&#3619;&#3626;&#3629;&#3610;&#3648;&#3586;&#3657;&#3634; &#3617;.1 &#3605;&#3636;&#3623;&#3648;&#3605;&#3629;&#3619;&#3636;&#3607;&#3637;&#3656;&#3626;&#3629;&#3609;&#3609;&#3636;&#3629;&#3591;&#3654; &#3585;&#3619;&#3640;&#3603;&#3634;&#3604;&#3641;&#3619;&#3634;&#3618;&#3621;&#3632;&#3648;&#3629;&#3637;&#3618;&#3604;&#3651;&#3609;&#3627;&#3609;&#3657;&#3634;<br />
                &#3586;&#3656;&#3634;&#3623;&#3585;&#3634;&#3619;&#3624;&#3638;&#3585;&#3625;&#3634;&#3604;&#3657;&#3634;&#3609;&#3621;&#3656;&#3634;&#3591; &#3649;&#3621;&#3632;&#3610;&#3629;&#3585;&#3609;&#3657;&#3629;&#3591;&#3654; &#3604;&#3657;&#3623;&#3618;&#3609;&#3632;&#3588;&#3632;</td>
              <td align="left" valign="top"><img src="<?=base_url()?>images/space.gif" width="57" height="15" /></td>
            </tr>
          </table></td>
          <td height="71" align="left" valign="top">&nbsp;</td>
        </tr>
        <tr>
          <td height="40" align="left" valign="top">&nbsp;</td>
          <td height="40" align="left" valign="top"><img src="<?=base_url()?>images/tutorlogin/red_03.jpg" width="736" height="40" /></td>
          <td height="40" align="left" valign="top">&nbsp;</td>
        </tr>
        <tr>
          <td align="left" valign="top"><img src="<?=base_url()?>images/space.gif" width="157" height="102" /></td>
          <td height="102" align="left" valign="top"><img src="<?=base_url()?>images/tutorlogin/green_01.jpg" width="736" height="102" /></td>
          <td align="left" valign="top"><img src="<?=base_url()?>images/space.gif" width="131" height="102" /></td>
        </tr>
        <tr>
          <td height="20" align="left" valign="top">&nbsp;</td>
          <td height="20" align="left" valign="top" background="<?=base_url()?>images/tutorlogin/green_02.jpg"><table width="736" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center" valign="middle"><img src="<?=base_url()?>images/space.gif" width="59" height="31" /></td>
                <td align="center" valign="middle">&nbsp;</td>
                <td align="center" valign="middle" class="textGrey12pt">&nbsp;</td>
                <td align="center" valign="middle" class="textGrey12pt"><p align="left"><span class="textGrey13pt">&#3605;&#3636;&#3623;&#3648;&#3605;&#3629;&#3619;&#3660;&#3626;&#3634;&#3617;&#3634;&#3619;&#3606;&#3618;&#3585;&#3648;&#3621;&#3636;&#3585;&#3609;&#3633;&#3585;&#3648;&#3619;&#3637;&#3618;&#3609;&#3648;&#3627;&#3621;&#3656;&#3634;&#3609;&#3637;&#3657;&#3652;&#3604;&#3657;&#3648;&#3614;&#3619;&#3634;&#3632;&#3618;&#3633;&#3591;&#3629;&#3618;&#3641;&#3656;&#3651;&#3609;&#3619;&#3632;&#3627;&#3623;&#3656;&#3634;&#3591;&#3585;&#3634;&#3619;&#3605;&#3636;&#3604;&#3656;&#3629; &#3627;&#3619;&#3639;&#3629;&#3609;&#3633;&#3585;&#3648;&#3619;&#3637;&#3618;&#3609;&#3652;&#3604;&#3657;&#3618;&#3585;&#3648;&#3621;&#3636;&#3585;&#3648;&#3614;&#3619;&#3634;&#3632;&#3611;&#3633;&#3592;&#3592;&#3640;&#3610;&#3633;&#3609;<br />
&#3609;&#3633;&#3585;&#3648;&#3619;&#3637;&#3618;&#3609;&#3652;&#3617;&#3656;&#3623;&#3656;&#3634;&#3591;&#3651;&#3609;&#3648;&#3623;&#3621;&#3634;&#3604;&#3633;&#3591;&#3585;&#3621;&#3656;&#3634;&#3623;&#3649;&#3621;&#3657;&#3623;</span><br />
  <br />
                    </p>                  </td>
                <td align="center" valign="middle">&nbsp;</td>
              </tr>
              <tr>
                <td width="60" height="48" align="center" valign="middle"><img src="<?=base_url()?>images/space.gif" width="59" height="48" /></td>
                <td width="5" height="48" align="center" valign="middle">&nbsp;</td>
                <td width="10" height="48" align="center" valign="middle" class="textGrey12pt"><img src="<?=base_url()?>images/space.gif" width="8" height="15" /></td>
                <td width="604" height="48" align="center" valign="middle" background="<?=base_url()?>images/tutorlogin/selectedstudent_01.jpg" class="textGrey12pt"><div align="left">
                  <table width="604" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td colspan="13"><img src="<?=base_url()?>images/space.gif" width="500" height="5" /></td>
                      </tr>
                    <tr>
                      <td width="61" align="center" valign="middle" ><input type="image" src="<?=base_url()?>images/cancel_btn.jpg"/></td>
                      <td width="42" align="center" valign="middle" class="textWhite11pt">&#3623;&#3633;&#3609;&#3607;&#3637;&#3656;&#3648;&#3619;&#3636;&#3656;&#3617;</td>
                      <td width="44" align="center" valign="middle" class="textWhite11pt">&#3626;&#3606;&#3634;&#3609;&#3607;&#3637;&#3656; </td>
                      <td width="36" align="center" valign="middle" class="textWhite11pt">&#3623;&#3636;&#3594;&#3634;</td>
                      <td width="34" align="center" valign="middle" class="textWhite11pt">&#3594;&#3633;&#3657;&#3609;</td>
                      <td width="78" align="center" valign="middle" class="textWhite11pt">&#3649;&#3612;&#3609;&#3585;&#3634;&#3619;&#3648;&#3619;&#3637;&#3618;&#3609;</td>
                      <td width="45" align="center" valign="middle" class="textWhite11pt">&#3627;&#3621;&#3633;&#3585;&#3626;&#3641;&#3605;&#3619;</td>
                      <td width="48" align="center" valign="middle" class="textWhite11pt">&#3650;&#3619;&#3591;&#3648;&#3619;&#3637;&#3618;&#3609;</td>
                      <td width="44" align="center" valign="middle" class="textWhite11pt">&#3594;&#3639;&#3656;&#3629;&#3592;&#3619;&#3636;&#3591;</td>
                      <td width="46" align="center" valign="middle" class="textWhite11pt">&#3594;&#3639;&#3656;&#3629;&#3648;&#3621;&#3656;&#3609;</td>
                      <td width="30" align="center" valign="middle" class="textWhite11pt">&#3648;&#3614;&#3624;</td>
                      <td width="60" align="center" valign="middle" class="textWhite11pt">&#3626;&#3606;&#3634;&#3609;&#3632;</td>
                    </tr>
                  </table>
                  <br />
                </div></td>
                <td width="57" height="48" align="center" valign="middle"><img src="<?=base_url()?>images/space.gif" width="57" height="15" /></td>
              </tr>
              
              <?php
              	if(isset($selected_stu) && count($selected_stu) > 0) {
              		$ii = 0;
              		foreach ($selected_stu as $r) {
              ?>
	              <tr>
	                <td height="18" align="center" valign="middle"><img src="<?=base_url()?>images/space.gif" width="59" height="18" /></td>
	                <td height="18" align="center" valign="middle">&nbsp;</td>
	                <td height="18" align="center" valign="middle" class="textGrey12pt">&nbsp;</td>
	                <td height="18" align="center" valign="middle" background="<?=base_url()?>images/tutorlogin/selectedstudent_02.jpg" class="textGrey12pt"><div align="left">
	                  <table width="604" border="0" cellspacing="0" cellpadding="0">
	                    <tr>
	                      <td width="19" align="center" valign="middle" class="textWhite12pt"><img src="<?=base_url()?>images/space.gif" width="19" height="5" /></td>
	                      <td width="20" align="center" valign="middle" class="textWhite12pt">                        
	                          <input type="checkbox" name="cancel_chk[]" value="<?= $r->student_id?>" />                          
	                       </td>
	                      <td width="23" align="center" valign="middle" class="textGrey11pt"><img src="<?=base_url()?>images/space.gif" width="23" height="5" /></td>
	                      <td width="43" align="center" valign="middle" class="textGrey11pt"><?= $r->study_start_date?></td>
	                      <td width="44" align="center" valign="middle" class="textGrey11pt"><?= $r->study_add_distinct?></td>
	                      <td width="36" align="center" valign="middle" class="textGrey11pt"><?php echo $r->booking_subject01 . ' ' . $r->booking_subject02 . ' ' . $r->booking_subject03 . ' ' . $r->booking_subject04 . ' ' .$r->booking_subject05 . ' ' . $r->booking_subject06;?></td>
	                      <td width="34" align="center" valign="middle" class="textGrey11pt"><?= $r->current_class?></td>
	                      <td width="79" align="center" valign="middle" class="textGrey11pt"><?= $r->plan_edu?></td>
	                      <td width="43" align="center" valign="middle" class="textGrey11pt"><?= $r->course_type?></td>
	                      <td width="48" align="center" valign="middle" class="textGrey11pt"><?= $r->school?></td>
	                      <td width="45" align="center" valign="middle" class="textGrey11pt"><?= $r->first_name . ' ' . $r->last_name?></td>
	                      <td width="45" align="center" valign="middle" class="textGrey11pt"><?= $r->nick_name ?></td>
	                      <td width="29" align="center" valign="middle" class="textGrey11pt"><?php if($r->title == 'นาย' || $r->title == 'ด.ช.') echo 'ช'; else echo 'ญ';?></td>
	                      <td width="47" align="center" valign="middle" class="textGrey11pt"><?= $r->maching_status?></td>
	                      <td width="15" align="center" valign="middle" class="textGrey11pt"><img src="<?=base_url()?>images/space.gif" width="15" height="10" /></td>
	                    </tr>
	                  </table>
	                </div></td>
	                <td height="18" align="center" valign="middle">&nbsp;</td>
	              </tr>
	          <?php 
	          	if($ii + 1 == count($selected_stu)) {
	          ?>
	          	<tr>
	                <td height="16" align="center" valign="middle">&nbsp;</td>
	                <td height="16" align="center" valign="middle">&nbsp;</td>
	                <td height="16" align="center" valign="middle" class="textGrey12pt">&nbsp;</td>
	                <td height="16" align="center" valign="middle" background="<?=base_url()?>images/tutorlogin/selectedstudent_02.jpg" class="textGrey12pt">
	                <div align="left"><img src="<?=base_url()?>images/tutorlogin/selectedstudent_05.jpg" width="604" height="16" /></div></td>
	                <td height="16" align="center" valign="middle">&nbsp;</td>
	              </tr>
	              
	              
              
              <?php } else { ?>
              	<tr>
	                <td height="21" align="center" valign="middle">&nbsp;</td>
	                <td height="21" align="center" valign="middle">&nbsp;</td>
	                <td height="21" align="center" valign="middle" class="textGrey12pt">&nbsp;</td>
	                <td height="21" align="center" valign="middle" background="<?=base_url()?>images/tutorlogin/selectedstudent_03.gif" class="textGrey12pt"><div align="left"><img src="<?=base_url()?>images/tutorlogin/selectedstudent_03.jpg" width="604" height="21" /></div></td>
	                <td height="21" align="center" valign="middle">&nbsp;</td>
	              </tr>
              <?php } } $ii = $ii + 1; }   else {
              ?>		
              <tr>
                <td height="16" align="center" valign="middle">&nbsp;</td>
                <td height="16" align="center" valign="middle">&nbsp;</td>
                <td height="16" align="center" valign="middle" class="textGrey12pt">&nbsp;</td>
                <td height="16" align="center" valign="middle" background="<?=base_url()?>images/tutorlogin/selectedstudent_02.jpg" class="textGrey12pt">
                <div align="left"><img src="<?=base_url()?>images/tutorlogin/selectedstudent_05.jpg" width="604" height="16" /></div></td>
                <td height="16" align="center" valign="middle">&nbsp;</td>
              </tr>
              <?php }
              ?>
          </table></td>
          <td height="20" align="left" valign="top">&nbsp;</td>
        </tr>
        <tr>
          <td height="40" align="left" valign="top">&nbsp;</td>
          <td height="40" align="left" valign="top" background="<?=base_url()?>images/tutorlogin/green_03.jpg"><img src="<?=base_url()?>images/tutorlogin/green_03.jpg" width="736" height="40" /></td>
          <td height="40" align="left" valign="top">&nbsp;</td>
        </tr>
        <tr>
          <td height="100" align="left" valign="top"><img src="<?=base_url()?>images/space.gif" width="157" height="100" /></td>
          <td height="100" align="left" valign="top"><img src="<?=base_url()?>images/tutorlogin/documentdownload_01.jpg" width="736" height="100" border="0" usemap="#Map2" />
            <map name="Map2" id="Map2">
              <area shape="rect" coords="131,39,260,64" href="courseapply.pdf" target="_blank" />
            </map>            </td>
          <td height="100" align="left" valign="top"><img src="<?=base_url()?>images/space.gif" width="131" height="100" /></td>
        </tr>
        <tr>
          <td height="30" align="left" valign="top">&nbsp;</td>
          <td height="30" align="left" valign="top" background="<?=base_url()?>images/tutorlogin/documentdownload_02.jpg"><table width="736" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="60" align="left" valign="top"><img src="<?=base_url()?>images/space.gif" width="60" height="15" /></td>
                <td width="7" align="center" valign="middle"><img src="<?=base_url()?>images/tutorlogin/bulletRed.jpg" width="7" height="7" /></td>
                <td width="10" align="left" valign="top" class="textGrey12pt"><img src="<?=base_url()?>images/space.gif" width="8" height="15" /></td>
                <td width="601" align="left" valign="top" class="textGrey12pt">&#3585;&#3619;&#3640;&#3603;&#3634;&#3614;&#3636;&#3617;&#3614;&#3660;&#3651;&#3610;&#3626;&#3617;&#3633;&#3588;&#3619;&#3648;&#3619;&#3637;&#3618;&#3609;&#3651;&#3609;&#3627;&#3609;&#3657;&#3634;&#3606;&#3633;&#3604;&#3652;&#3611; (&#3614;&#3636;&#3617;&#3614;&#3660;&#3626;&#3637;&#3627;&#3619;&#3639;&#3629;&#3586;&#3634;&#3623;-&#3604;&#3635;&#3585;&#3655;&#3652;&#3604;&#3657;) &#3648;&#3614;&#3639;&#3656;&#3629;&#3609;&#3635;&#3652;&#3611;&#3651;&#3627;&#3657;&#3609;&#3633;&#3585;&#3648;&#3619;&#3637;&#3618;&#3609;&#3585;&#3619;&#3629;&#3585;&#3627;&#3621;&#3633;&#3591;&#3585;&#3634;&#3619;&#3648;&#3619;&#3637;&#3618;&#3609;&#3651;&#3609;&#3588;&#3619;&#3633;&#3657;&#3591;&#3649;&#3619;&#3585;<br /></td>
                <td width="58" align="left" valign="top"><img src="<?=base_url()?>images/space.gif" width="57" height="15" /></td>
              </tr>
              <tr>
                <td align="left" valign="top"><img src="<?=base_url()?>images/space.gif" width="59" height="15" /></td>
                <td align="center" valign="middle"><img src="<?=base_url()?>images/tutorlogin/bulletGreen.jpg" width="7" height="7" /></td>
                <td align="left" valign="top" class="textGrey12pt"><img src="<?=base_url()?>images/space.gif" width="8" height="15" /></td>
                <td align="left" valign="top" class="textGrey12pt">&#3651;&#3609;&#3651;&#3610;&#3626;&#3617;&#3633;&#3588;&#3619;&#3648;&#3619;&#3637;&#3618;&#3609;&#3611;&#3619;&#3632;&#3585;&#3629;&#3610;&#3652;&#3611;&#3604;&#3657;&#3623;&#3618; 3 &#3626;&#3656;&#3623;&#3609; &#3609;&#3633;&#3585;&#3648;&#3619;&#3637;&#3618;&#3609;&#3592;&#3632;&#3605;&#3657;&#3629;&#3591;&#3585;&#3619;&#3629;&#3585;&#3604;&#3657;&#3623;&#3618;&#3605;&#3609;&#3648;&#3629;&#3591;&#3626;&#3635;&#3627;&#3619;&#3633;&#3610;&#3626;&#3656;&#3623;&#3609;&#3607;&#3637;&#3656; 1 &#3649;&#3621;&#3632;&#3626;&#3656;&#3623;&#3609;&#3607;&#3637;&#3656; 2 &#3626;&#3635;&#3627;&#3619;&#3633;&#3610;&#3626;&#3656;&#3623;&#3609;&#3607;&#3637;&#3656; 3 &#3609;&#3633;&#3657;&#3609; &#3629;&#3634;&#3592;&#3651;&#3627;&#3657;&#3609;&#3633;&#3585;&#3648;&#3619;&#3637;&#3618;&#3609;&#3585;&#3619;&#3629;&#3585; &#3627;&#3619;&#3639;&#3629;&#3648;&#3639;&#3656;&#3614;&#3639;&#3656;&#3629;&#3651;&#3627;&#3657;&#3605;&#3636;&#3623;&#3648;&#3605;&#3629;&#3619;&#3660;&#3652;&#3604;&#3657;&#3607;&#3635;&#3588;&#3623;&#3634;&#3617;&#3619;&#3641;&#3657;&#3592;&#3633;&#3585;&#3585;&#3633;&#3610;&#3609;&#3633;&#3585;&#3648;&#3619;&#3637;&#3618;&#3609;&#3617;&#3634;&#3585;&#3586;&#3638;&#3657;&#3609; &#3605;&#3636;&#3623;&#3648;&#3605;&#3629;&#3619;&#3660;&#3629;&#3634;&#3592;&#3651;&#3594;&#3657;&#3623;&#3636;&#3608;&#3637;&#3606;&#3634;&#3617;-&#3605;&#3629;&#3610;&#3649;&#3621;&#3632;&#3648;&#3611;&#3655;&#3609;&#3612;&#3641;&#3657;&#3592;&#3604;&#3619;&#3634;&#3618;&#3621;&#3632;&#3648;&#3629;&#3637;&#3618;&#3604; &#3604;&#3657;&#3623;&#3618;&#3605;&#3609;&#3648;&#3629;&#3591;&#3649;&#3607;&#3609;&#3585;&#3655;&#3652;&#3604;&#3657;&#3588;&#3656;&#3632;</td>
                <td align="left" valign="top"><img src="<?=base_url()?>images/space.gif" width="57" height="15" /></td>
              </tr>
              <tr>
                <td align="left" valign="top">&nbsp;</td>
                <td align="center" valign="middle"><img src="<?=base_url()?>images/tutorlogin/bulletOrange.jpg" width="7" height="7" /></td>
                <td align="left" valign="top" class="textGrey12pt">&nbsp;</td>
                <td align="left" valign="top" class="textGrey12pt">&#3648;&#3617;&#3639;&#3656;&#3629;&#3652;&#3604;&#3657;&#3586;&#3657;&#3629;&#3617;&#3641;&#3621;&#3649;&#3621;&#3657;&#3623; &#3585;&#3619;&#3640;&#3603;&#3634;&#3614;&#3636;&#3617;&#3614;&#3660;&#3621;&#3591;&#3651;&#3609;&#3627;&#3609;&#3657;&#3634;&#3607;&#3637;&#3656; 3 &#3649;&#3621;&#3632; 4 &#3586;&#3629;&#3591;&#3652;&#3615;&#3621;&#3660;&#3609;&#3637;&#3657; (&#3592;&#3632;&#3617;&#3637;&#3586;&#3657;&#3629;&#3617;&#3641;&#3621;&#3610;&#3634;&#3591;&#3626;&#3656;&#3623;&#3609;&#3607;&#3637;&#3656;&#3648;&#3585;&#3637;&#3656;&#3618;&#3623;&#3585;&#3633;&#3610;&#3585;&#3634;&#3619;&#3648;&#3619;&#3637;&#3618;&#3609;&#3585;&#3634;&#3619;&#3626;&#3629;&#3609; &#3649;&#3605;&#3656;&#3652;&#3617;&#3656;&#3648;&#3585;&#3637;&#3656;&#3618;&#3623;&#3585;&#3633;&#3610;&#3609;&#3633;&#3585;&#3648;&#3619;&#3637;&#3618;&#3609; &#3605;&#3636;&#3623;&#3648;&#3605;&#3629;&#3619;&#3660;&#3585;&#3619;&#3640;&#3603;&#3634;&#3648;&#3605;&#3636;&#3617;&#3604;&#3657;&#3623;&#3618;&#3605;&#3609;&#3648;&#3629;&#3591;&#3651;&#3627;&#3657;&#3588;&#3619;&#3610;&#3609;&#3632;&#3588;&#3632; &#3652;&#3617;&#3656;&#3605;&#3657;&#3629;&#3591;&#3592;&#3633;&#3604;&#3627;&#3609;&#3657;&#3634;&#3585;&#3619;&#3632;&#3604;&#3634;&#3625;&#3627;&#3619;&#3639;&#3629;&#3592;&#3633;&#3604;&#3610;&#3619;&#3619;&#3607;&#3633;&#3604;&#3585;&#3655;&#3652;&#3604;&#3657;&#3588;&#3656;&#3632;) </td>
                <td align="left" valign="top">&nbsp;</td>
              </tr>
              <tr>
                <td align="left" valign="top">&nbsp;</td>
                <td align="center" valign="middle"><img src="<?=base_url()?>images/tutorlogin/bulletBlue.jpg" width="7" height="7" /></td>
                <td align="left" valign="top" class="textGrey12pt">&nbsp;</td>
                <td align="left" valign="top" class="textGrey12pt">&#3626;&#3656;&#3591;&#3586;&#3657;&#3629;&#3617;&#3641;&#3621;&#3627;&#3609;&#3657;&#3634; 3 &#3649;&#3621;&#3632; 4 &#3648;&#3611;&#3655;&#3609;&#3652;&#3615;&#3621;&#3660; Windows 2003 &#3617;&#3634;&#3607;&#3637;&#3656;&#3607;&#3633;&#3657;&#3591;&#3626;&#3629;&#3591;&#3648;&#3617;&#3621;&#3609;&#3637;&#3657;&#3648;&#3621;&#3618;&#3588;&#3656;&#3632; <a href="mailto:tutorland@hotmail.co.th" class="textRed12pt">tutorland@hotmail.co.th</a> &#3649;&#3621;&#3632;<a href="mailto:tutorland@windowslive.com" class="textRed12pt"> tutorland@windowslive.com</a></td>
                <td align="left" valign="top">&nbsp;</td>
              </tr>
              <tr>
                <td align="left" valign="top">&nbsp;</td>
                <td align="center" valign="middle"><img src="<?=base_url()?>images/tutorlogin/bulletPink.jpg" width="7" height="7" /></td>
                <td align="left" valign="top" class="textGrey12pt">&nbsp;</td>
                <td align="left" valign="top" class="textGrey12pt">&#3627;&#3634;&#3585;&#3627;&#3621;&#3633;&#3591;&#3592;&#3634;&#3585;&#3617;&#3637;&#3585;&#3634;&#3619;&#3605;&#3619;&#3623;&#3592;&#3626;&#3629;&#3610;&#3649;&#3621;&#3632;&#3614;&#3610;&#3623;&#3656;&#3634;&#3605;&#3636;&#3623;&#3648;&#3605;&#3629;&#3619;&#3652;&#3604;&#3657;&#3660;&#3607;&#3635;&#3652;&#3617;&#3656;&#3588;&#3619;&#3610;&#3605;&#3634;&#3617;&#3586;&#3633;&#3657;&#3609;&#3605;&#3629;&#3609; &#3627;&#3619;&#3639;&#3629;&#3586;&#3657;&#3629;&#3617;&#3641;&#3621;&#3651;&#3609;&#3651;&#3610;&#3626;&#3617;&#3633;&#3588;&#3619;&#3652;&#3617;&#3656;&#3605;&#3619;&#3591;&#3605;&#3634;&#3617;&#3588;&#3623;&#3634;&#3617;&#3648;&#3611;&#3655;&#3609;&#3592;&#3619;&#3636;&#3591;  &#3592;&#3632;&#3606;&#3639;&#3629;&#3623;&#3656;&#3634;&#3605;&#3636;&#3623;&#3648;&#3605;&#3629;&#3619;&#3660;&#3607;&#3656;&#3634;&#3609;&#3609;&#3633;&#3657;&#3609;&#3652;&#3617;&#3656;&#3652;&#3604;&#3657;&#3652;&#3611;&#3607;&#3635;&#3585;&#3634;&#3619;&#3626;&#3629;&#3609;&#3605;&#3634;&#3617;&#3607;&#3637;&#3656;&#3609;&#3633;&#3604;&#3627;&#3617;&#3634;&#3618;&#3652;&#3623;&#3657; &#3649;&#3621;&#3632;&#3607;&#3634;&#3591;&#3626;&#3606;&#3634;&#3610;&#3633;&#3609;&#3586;&#3629;&#3626;&#3591;&#3623;&#3609;&#3626;&#3636;&#3607;&#3608;&#3636;&#3660;&#3652;&#3617;&#3656;&#3592;&#3633;&#3604;&#3609;&#3633;&#3585;&#3648;&#3619;&#3637;&#3618;&#3609;&#3588;&#3609;&#3605;&#3656;&#3629;&#3652;&#3611;&#3651;&#3627;&#3657;&#3609;&#3632;&#3588;&#3632; </td>
                <td align="left" valign="top">&nbsp;</td>
              </tr>
              <tr>
                <td height="15" colspan="5" align="left" valign="top"><img src="<?=base_url()?>images/space.gif" width="500" height="15" /></td>
                </tr>
              <tr>
                <td align="left" valign="top">&nbsp;</td>
                <td align="center" valign="middle">&nbsp;</td>
                <td align="left" valign="top" class="textGrey12pt">&nbsp;</td>
                <td align="right" valign="top" class="textGrey12pt"><img src="<?=base_url()?>images/tutorlogin/dowlnload.jpg" width="119" height="34" border="0" usemap="#Map3" /></td>
                <td align="left" valign="top">&nbsp;</td>
              </tr>
          </table></td>
          <td height="30" align="left" valign="top">&nbsp;</td>
        </tr>
        <tr>
          <td height="37" align="left" valign="top">&nbsp;</td>
          <td height="37" align="left" valign="top"><img src="<?=base_url()?>images/tutorlogin/documentdownload_03.jpg" width="736" height="37" /></td>
          <td height="37" align="left" valign="top">&nbsp;</td>
        </tr>
        <tr>
          <td height="100" align="left" valign="top"><img src="<?=base_url()?>images/space.gif" width="157" height="100" /></td>
          <td height="100" align="left" valign="top" background="<?=base_url()?>images/tutorlogin/brown_01.jpg">&nbsp;</td>
          <td height="100" align="left" valign="top"><img src="<?=base_url()?>images/space.gif" width="131" height="100" /></td>
        </tr>
        <tr>
          <td height="20" align="left" valign="top">&nbsp;</td>
          <td height="20" align="left" valign="top" background="<?=base_url()?>images/tutorlogin/brown_02.jpg"><table width="736" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="67" align="left" valign="top"><img src="<?=base_url()?>images/space.gif" width="67" height="47" /></td>
              <td width="604" height="47" align="center" valign="middle" background="<?=base_url()?>images/tutorlogin/browntable_01.jpg"><table width="604" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="85" align="center" valign="middle" class="textWhite12pt"><input type="image" src="<?=base_url()?>images/selected_btn.jpg"  /></td>
                  <td width="50" align="center" valign="middle" class="textWhite11pt">&#3623;&#3633;&#3609;&#3607;&#3637;&#3656;&#3648;&#3619;&#3636;&#3656;&#3617;</td>
                  <td width="50" align="center" valign="middle" class="textWhite11pt">&#3626;&#3606;&#3634;&#3609;&#3607;&#3637;&#3656; </td>
                  <td width="34" align="center" valign="middle" class="textWhite11pt">&#3623;&#3636;&#3594;&#3634;</td>
                  <td width="16" align="center" valign="middle" class="textWhite11pt">&#3594;&#3633;&#3657;&#3609;</td>
                  <td width="75" align="center" valign="middle" class="textWhite11pt">&#3649;&#3612;&#3609;&#3585;&#3634;&#3619;&#3648;&#3619;&#3637;&#3618;&#3609;</td>
                  <td width="55" align="center" valign="middle" class="textWhite11pt">&#3627;&#3621;&#3633;&#3585;&#3626;&#3641;&#3605;&#3619;</td>
                  <td width="51" align="center" valign="middle" class="textWhite11pt">&#3650;&#3619;&#3591;&#3648;&#3619;&#3637;&#3618;&#3609;</td>
                  <td width="41" align="center" valign="middle" class="textWhite11pt">&#3594;&#3639;&#3656;&#3629;&#3592;&#3619;&#3636;&#3591;</td>
                  <td width="44" align="center" valign="middle" class="textWhite11pt">&#3594;&#3639;&#3656;&#3629;&#3648;&#3621;&#3656;&#3609;</td>
                  <td width="45" align="center" valign="middle" class="textWhite11pt">&#3648;&#3614;&#3624;</td>
                </tr>
              </table></td>
              <td width="65" align="left" valign="top"><img src="<?=base_url()?>images/space.gif" width="65" height="15" /></td>
            </tr>
           
           
           
           <?php
              	if(isset($select_stu) && count($select_stu) > 0) {
              		$ii = 0;
              		foreach ($select_stu as $r) {
              ?>
	            <tr>
	              <td height="19" align="left" valign="top">&nbsp;</td>
	              <td height="19" align="center" valign="middle" background="<?=base_url()?>images/tutorlogin/browntable_02.jpg"><table width="604" border="0" cellspacing="0" cellpadding="0">
	                <tr>
	                  <td width="19" align="center" valign="middle" class="textGrey11pt"><img src="<?=base_url()?>images/space.gif" width="19" height="5" /></td>
	                  <td width="42" align="center" valign="middle" class="textGrey11pt">
	                      <input type="checkbox" name="selected_chk[]" value="<?= $r->student_id?>" />  
	                 </td>
	                  <td width="23" align="center" valign="middle" class="textGrey11pt"><img src="<?=base_url()?>images/space.gif" width="23" height="5" /></td>
	                  <td width="51" align="center" valign="middle" class="textGrey11pt"><?= $r->study_start_date?></td>
	                  
	                  <td width="51" align="center" valign="middle" class="textGrey11pt"><?= $r->study_add_distinct?></td>
                      <td width="33" align="center" valign="middle" class="textGrey11pt"><?php echo $r->booking_subject01 . ' ' . $r->booking_subject02 . ' ' . $r->booking_subject03 . ' ' . $r->booking_subject04 . ' ' .$r->booking_subject05 . ' ' . $r->booking_subject06;?></td>
                      <td width="20" align="center" valign="middle" class="textGrey11pt"><?= $r->current_class?></td>
                      <td width="73" align="center" valign="middle" class="textGrey11pt"><?= $r->plan_edu?></td>
                      <td width="56" align="center" valign="middle" class="textGrey11pt"><?= $r->course_type?></td>
                      <td width="51" align="center" valign="middle" class="textGrey11pt"><?= $r->school?></td>
                      <td width="41" align="center" valign="middle" class="textGrey11pt"><?= $r->first_name . ' ' . $r->last_name?></td>
                      <td width="43" align="center" valign="middle" class="textGrey11pt"><?= $r->nick_name ?></td>
                      <td width="28" align="center" valign="middle" class="textGrey11pt"><?php if($r->title == 'นาย' || $r->title == 'ด.ช.') echo 'ช'; else echo 'ญ';?></td>
	                  
	                  <td width="15" align="center" valign="middle" class="textGrey11pt"><img src="<?=base_url()?>images/space.gif" width="15" height="10" /></td>
	                </tr>
	              </table></td>
	              <td height="19" align="left" valign="top">&nbsp;</td>
	            </tr>
	            <?php 
		          	if($ii + 1 == count($select_stu)) {
		        ?>
		        <tr>
	              <td height="15" align="left" valign="top">&nbsp;</td>
	              <td height="15" align="left" valign="top"><img src="<?=base_url()?>images/tutorlogin/browntable_05.jpg" width="604" height="15" /></td>
	              <td height="15" align="left" valign="top">&nbsp;</td>
	            </tr>
	            <?php } else { ?>
	            <tr>
	              <td height="20" align="left" valign="top">&nbsp;</td>
	              <td height="20" align="center" valign="middle" background="<?=base_url()?>images/tutorlogin/browntable_02.jpg"><img src="<?=base_url()?>images/tutorlogin/browntable_03.jpg" width="604" height="20" /></td>
	              <td height="20" align="left" valign="top">&nbsp;</td>
	            </tr>
            	<?php } } $ii = $ii + 1; }   else {
              	?>
            <tr>
              <td height="15" align="left" valign="top">&nbsp;</td>
              <td height="15" align="left" valign="top"><img src="<?=base_url()?>images/tutorlogin/browntable_05.jpg" width="604" height="15" /></td>
              <td height="15" align="left" valign="top">&nbsp;</td>
            </tr>
            <?php }
              ?>
            
            
          </table>            </td>
          <td height="20" align="left" valign="top">&nbsp;</td>
        </tr>
        <tr>
          <td height="37" align="left" valign="top">&nbsp;</td>
          <td width="736" height="37" align="left" valign="top"><img src="<?=base_url()?>images/tutorlogin/brown_03.jpg" width="736" height="37" /></td>
          <td height="37" align="left" valign="top">&nbsp;</td>
        </tr>
      </table></td>
    </tr>
    <tr>
      <td height="433" align="left" valign="top" background="<?=base_url()?>images/tutorlogin/logintutor_06.jpg"><br />
          <br />
          <br />
            <br />
          <br />
          <br />
          <br />
          <br />
          <br />
          <br />
        <table width="1024" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="64" align="left" valign="top"><a href="<?=site_url()?>strongpoint"></a></td>
          <td height="64" align="center" valign="middle" background="1"><img src="<?=base_url()?>images/bottomwhite.jpg" width="874" height="64" border="0" usemap="#MapMap" />
              <map name="MapMap" id="MapMap">
                <area shape="rect" coords="60,17,103,38" href="<?=site_url()?>index.php" />
                <area shape="rect" coords="627,18,684,48" href="<?=site_url()?>studentapply" />
                <area shape="rect" coords="549,19,608,47" href="<?=site_url()?>courseandrate" />
                <area shape="rect" coords="780,17,833,37" href="<?=site_url()?>contactus" />
                <area shape="rect" coords="701,19,763,36" href="<?=site_url()?>tutorapply" />
                <area shape="rect" coords="289,20,367,34" href="<?=site_url()?>presentstudent" />
                <area shape="rect" coords="381,22,458,38" href="<?=site_url()?>presenttutor" />
                <area shape="rect" coords="220,22,274,49" href="<?=site_url()?>strongpoint" />
                <area shape="rect" coords="472,21,527,49" href="<?=site_url()?>halloffame" />
                <area shape="rect" coords="122,18,202,34" href="<?=site_url()?>toparent" />
            </map></td>
          <td height="64" align="left" valign="top">&nbsp;</td>
        </tr>
        <tr>
          <td height="5" colspan="3" align="left" valign="top"><a href="<?=site_url()?>strongpoint"></a></td>
        </tr>
        <tr>
          <td align="left" valign="top">&nbsp;</td>
          <td align="center" valign="middle" class="textGrey12pt">&#3626;&#3606;&#3634;&#3610;&#3633;&#3609;&#3585;&#3623;&#3604;&#3623;&#3636;&#3594;&#3634;&#3605;&#3636;&#3623;&#3648;&#3605;&#3629;&#3619;&#3660;&#3649;&#3621;&#3609;&#3604;&#3660; ( <img src="<?=base_url()?>images/icon/logo.jpg" width="114" height="17" />) &#3648;&#3611;&#3655;&#3609;&#3626;&#3606;&#3634;&#3610;&#3633;&#3609;&#3585;&#3623;&#3604;&#3623;&#3636;&#3594;&#3634;&#3607;&#3637;&#3656;&#3652;&#3604;&#3657;&#3619;&#3633;&#3610;&#3585;&#3634;&#3619;&#3592;&#3604;&#3607;&#3632;&#3648;&#3610;&#3637;&#3618;&#3609;&#3629;&#3618;&#3656;&#3634;&#3591;&#3606;&#3641;&#3585;&#3605;&#3657;&#3629;&#3591;&#3605;&#3634;&#3617;&#3610;&#3607;&#3610;&#3633;&#3597;&#3597;&#3633;&#3605;&#3636;&#3586;&#3629;&#3591;&#3585;&#3619;&#3632;&#3607;&#3619;&#3623;&#3591;&#3652;&#3629;&#3595;&#3637;&#3607;&#3637; </td>
          <td align="left" valign="top">&nbsp;</td>
        </tr>
        <tr>
          <td align="left" valign="top">&nbsp;</td>
          <td align="center" valign="middle" class="textGrey12pt">copyright 2010 @ www.tutorland.co.th All Rights Reserved. </td>
          <td align="left" valign="top">&nbsp;</td>
        </tr>
        <tr>
          <td align="left" valign="top"><img src="<?=base_url()?>images/space.gif" width="86" height="15" /></td>
          <td align="center" valign="top" class="textGrey12pt">&#3626;&#3606;&#3634;&#3610;&#3633;&#3609;&#3585;&#3623;&#3604;&#3623;&#3636;&#3594;&#3634;&#3605;&#3636;&#3623;&#3648;&#3605;&#3629;&#3619;&#3660;&#3649;&#3621;&#3609;&#3604;&#3660; ( <img src="<?=base_url()?>images/icon/logo.jpg" width="114" height="17" />) &#3648;&#3621;&#3586;&#3607;&#3637;&#3656; 5/10-11 &#3595;. &#3610;&#3619;&#3617;&#3619;&#3634;&#3594;&#3594;&#3609;&#3609;&#3637; 13 &#3606;. &#3610;&#3619;&#3617;&#3619;&#3634;&#3594;&#3594;&#3609;&#3609;&#3637; &#3629;&#3619;&#3640;&#3603;&#3629;&#3617;&#3619;&#3636;&#3609;&#3607;&#3619;&#3660; <br />
            &#3610;&#3634;&#3591;&#3585;&#3629;&#3585;&#3609;&#3657;&#3629;&#3618; &#3585;&#3607;&#3617;. 10700 &#3650;&#3607;&#3619;&#3624;&#3633;&#3614;&#3607;&#3660; 0-28608155, 08-2643-3166, 08-2641-5012 </td>
          <td align="left" valign="top"><img src="<?=base_url()?>images/space.gif" width="64" height="15" /></td>
        </tr>
      </table></td>
    </tr>
  </table>
  </form>
</div>


<map name="Map3" id="Map3"><area shape="rect" coords="5,6,111,24" href="courseapply.pdf" />
</map></body>
</html>
